#ifndef __RK3399_GPIO_H__
#define __RK3399_GPIO_H__

#ifdef __cplusplus
extern "C" {
#endif

#define RK3399_GPIO0_A0		(0)
#define RK3399_GPIO0_A1		(1)
#define RK3399_GPIO0_A2		(2)
#define RK3399_GPIO0_A3		(3)
#define RK3399_GPIO0_A4		(4)
#define RK3399_GPIO0_A5		(5)
#define RK3399_GPIO0_A6		(6)
#define RK3399_GPIO0_A7		(7)
#define RK3399_GPIO0_B0		(8)
#define RK3399_GPIO0_B1		(9)
#define RK3399_GPIO0_B2		(10)
#define RK3399_GPIO0_B3		(11)
#define RK3399_GPIO0_B4		(12)
#define RK3399_GPIO0_B5		(13)

#define RK3399_GPIO1_A0		(32)
#define RK3399_GPIO1_A1		(33)
#define RK3399_GPIO1_A2		(34)
#define RK3399_GPIO1_A3		(35)
#define RK3399_GPIO1_A4		(36)
#define RK3399_GPIO1_A5		(37)
#define RK3399_GPIO1_A6		(38)
#define RK3399_GPIO1_A7		(39)
#define RK3399_GPIO1_B0		(40)
#define RK3399_GPIO1_B1		(41)
#define RK3399_GPIO1_B2		(42)
#define RK3399_GPIO1_B3		(43)
#define RK3399_GPIO1_B4		(44)
#define RK3399_GPIO1_B5		(45)
#define RK3399_GPIO1_B6		(46)
#define RK3399_GPIO1_B7		(47)
#define RK3399_GPIO1_C0		(48)
#define RK3399_GPIO1_C1		(49)
#define RK3399_GPIO1_C2		(50)
#define RK3399_GPIO1_C3		(51)
#define RK3399_GPIO1_C4		(52)
#define RK3399_GPIO1_C5		(53)
#define RK3399_GPIO1_C6		(54)
#define RK3399_GPIO1_C7		(55)
#define RK3399_GPIO1_D0		(56)

#define RK3399_GPIO2_A0		(64)
#define RK3399_GPIO2_A1		(65)
#define RK3399_GPIO2_A2		(66)
#define RK3399_GPIO2_A3		(67)
#define RK3399_GPIO2_A4		(68)
#define RK3399_GPIO2_A5		(69)
#define RK3399_GPIO2_A6		(70)
#define RK3399_GPIO2_A7		(71)
#define RK3399_GPIO2_B0		(72)
#define RK3399_GPIO2_B1		(73)
#define RK3399_GPIO2_B2		(74)
#define RK3399_GPIO2_B3		(75)
#define RK3399_GPIO2_B4		(76)
#define RK3399_GPIO2_C0		(80)
#define RK3399_GPIO2_C1		(81)
#define RK3399_GPIO2_C2		(82)
#define RK3399_GPIO2_C3		(83)
#define RK3399_GPIO2_C4		(84)
#define RK3399_GPIO2_C5		(85)
#define RK3399_GPIO2_C6		(86)
#define RK3399_GPIO2_C7		(87)
#define RK3399_GPIO2_D0		(88)
#define RK3399_GPIO2_D1		(89)
#define RK3399_GPIO2_D2		(90)
#define RK3399_GPIO2_D3		(91)
#define RK3399_GPIO2_D4		(92)

#define RK3399_GPIO3_A0		(96)
#define RK3399_GPIO3_A1		(97)
#define RK3399_GPIO3_A2		(98)
#define RK3399_GPIO3_A3		(99)
#define RK3399_GPIO3_A4		(100)
#define RK3399_GPIO3_A5		(101)
#define RK3399_GPIO3_A6		(102)
#define RK3399_GPIO3_A7		(103)
#define RK3399_GPIO3_B0		(104)
#define RK3399_GPIO3_B1		(105)
#define RK3399_GPIO3_B2		(106)
#define RK3399_GPIO3_B3		(107)
#define RK3399_GPIO3_B4		(108)
#define RK3399_GPIO3_B5		(109)
#define RK3399_GPIO3_B6		(110)
#define RK3399_GPIO3_B7		(111)
#define RK3399_GPIO3_C0		(112)
#define RK3399_GPIO3_C1		(113)
#define RK3399_GPIO3_D0		(120)
#define RK3399_GPIO3_D1		(121)
#define RK3399_GPIO3_D2		(122)
#define RK3399_GPIO3_D3		(123)
#define RK3399_GPIO3_D4		(124)
#define RK3399_GPIO3_D5		(125)
#define RK3399_GPIO3_D6		(126)
#define RK3399_GPIO3_D7		(127)

#define RK3399_GPIO4_A0		(128)
#define RK3399_GPIO4_A1		(129)
#define RK3399_GPIO4_A2		(130)
#define RK3399_GPIO4_A3		(131)
#define RK3399_GPIO4_A4		(132)
#define RK3399_GPIO4_A5		(133)
#define RK3399_GPIO4_A6		(134)
#define RK3399_GPIO4_A7		(135)
#define RK3399_GPIO4_B0		(136)
#define RK3399_GPIO4_B1		(137)
#define RK3399_GPIO4_B2		(138)
#define RK3399_GPIO4_B3		(139)
#define RK3399_GPIO4_B4		(140)
#define RK3399_GPIO4_B5		(141)
#define RK3399_GPIO4_C0		(144)
#define RK3399_GPIO4_C1		(145)
#define RK3399_GPIO4_C2		(146)
#define RK3399_GPIO4_C3		(147)
#define RK3399_GPIO4_C4		(148)
#define RK3399_GPIO4_C5		(149)
#define RK3399_GPIO4_C6		(150)
#define RK3399_GPIO4_C7		(151)
#define RK3399_GPIO4_D0		(152)
#define RK3399_GPIO4_D1		(153)
#define RK3399_GPIO4_D2		(154)
#define RK3399_GPIO4_D3		(155)
#define RK3399_GPIO4_D4		(156)
#define RK3399_GPIO4_D5		(157)
#define RK3399_GPIO4_D6		(158)

#ifdef __cplusplus
}
#endif

#endif /* __RK3399_GPIO_H__ */
